package com.project.service.impl;

import com.project.bean.TypeBean;
import com.project.mapper.ITypeMapper;
import com.project.service.ITypeService2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class ITypServiceImpl implements ITypeService2 {
    @Autowired
    ITypeMapper mapper;
    @Override
    public List<TypeBean> findAll() {
        List<TypeBean>list= mapper.findAll();
        return list;
    }
}
